home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / arprin_1 / arprin~1.txt < prev    next >
Encoding:
Text File  |  1998-03-08  |  933 b   |  21 lines

  1. This control will allow you to print simple text in the printer you select, using any font and specifying margins and orientation for the paper.
  2.  
  3.  
  4. Properties:
  5.  
  6. - TopMargin, BottomMargin, LeftMargin and RightMargin, are the margins that will have the printed page, speficied in twips. There are 1440 twips per logical inch.
  7. - Font. Font that will be used to print.
  8. - Orientation. Orientation of the paper: portrait or landscape.
  9. - PrinterDriverName (read-only). Driver that will be used to print.
  10. - SelPrinter. This is the printer that will be used to print.
  11.  
  12. Methods:
  13.  
  14. - PrintText (sText as String). This will print the text passed in the sText variable. Doesn't return anything.
  15. - PrintFile (sPath as String). This method will open the specified file and print its contents. Returns 'True' when succesful and 'False' if it fails.
  16.  
  17.  
  18.  
  19.  
  20. Alvaro Redondo <merlin@sevillaonline.com>
  21. http://www.sevillaonline.com/ActiveX